﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PrintDemo.Entity;
using PrintDemo.DAL;

namespace PrintDemo.BLL
{
    public class ChangefulBLL
    {
        ChangefulDAL _dal = new ChangefulDAL();
        public bool Update(ChangefulEntity model)
        {
            bool res = false;
            int result = _dal.Update(model);
            res = (int)result > 0;
            return res;
        }
        public IEnumerable<ChangefulEntity> GetList()
        {
            return _dal.GetList();
        }
    }
}
